CC = gcc
TAGET = stack_2

OBJ = main.o stack.o

$(TAGET):$(OBJ)
	$(CC) -o $(TAGET) $^

main.o : main.c stack.h

stack.o : stack.c stack.h

clean:
	rm $(OBJ)  $(TAGET)

